﻿

@model SuperiorModel.TPagedModelList<SuperiorModel.OrderModel>
@{
    ViewBag.Title = "订单列表";
    Layout = "~/Views/Shared/_Layout.cshtml";
    var shopAppList = ViewBag.ShopAppList;
}
<input type="hidden" id="mapRotute" map="map_order" />
<div class="shopmain">
    <div class="shopbody">
        <div class="layui-form">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <div class="layui-input-inline" style="width:120px;">
                        <input class="layui-input" placeholder="请输入订单编号" name="search_OrderNo" id="search_OrderNo">
                    </div>
                    <div class="layui-input-inline">
                        <select name="search_ShopAppId" id="search_ShopAppId">
                            <option value="unChecke">选择商城</option>
                            @foreach (var item in shopAppList)
                            {
                                <option value="@item.Id">@item.ShopName</option>
                            }
                        </select>
                    </div>
                    <div class="layui-input-inline">
                        <select name="search_status" id="search_status">
                            <option value="999">订单状态</option>
                            <option value="0">待付款</option>
                            <option value="1">（已发货）订单成功</option>
                            <option value="2">订单失败</option>
                            <option value="3">已付款(待发货)</option>
                            <option value="4">申请售后</option>
                        </select>
                    </div>


                </div>

            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <div class="layui-input-inline">
                        <input type="text" placeholder="开始时间" class="layui-input" id="search_BeginTime">

                    </div>


                    <div class="layui-input-inline">
                        <input type="text" placeholder="结束时间" class="layui-input" id="search_EndTime">
                    </div>
                    <button class="layui-btn layui-btn-normal" id="btn_search"><i class="layui-icon">&#xe615;</i>查询</button>



                </div>
            </div>
            <div class="layui-form-item layui-form-text" id="dataList">
                @Html.Partial("_List", Model)
            </div>
        </div>
    </div>
</div>
<script src="~/scripts/Common/Pager.js"></script>
<script src="~/scripts/Order/OrderList.js"></script>
<script>
    OrderListClass.Instance.Init();

</script>




